import axios from 'axios'

import router from '../router'


const instance = axios.create({
    baseURL: 'http://39.107.96.27:8081', // 配置基础地址
    timeout: 5000, // 配置响应超时

});

export function get(url,params){
    return instance.get(url,{params})
  }
  export function post(url,params){
    return instance.post(url,params)
  }
